<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="element-ui/lib/theme-chalk/index.css">
    <script src="js/vue.js"></script>
    <script src="element-ui/lib/index.js"></script>
    <style>
        .el-dropdown-link {
            cursor: pointer;
            color: #409EFF;
        }
        .el-icon-arrow-down {
            font-size: 12px;
        }
    </style>
</head>
<body>

<div id="app">
    <el-dropdown-menu slot="dropdown">
        <el-dropdown-item divided>
            <span style="display:block;">修改密码</span>
        </el-dropdown-item>
        <el-dropdown-item divided>
            <span style="display:block;">退出</span>
        </el-dropdown-item>
    </el-dropdown-menu>
</div>

</body>
<script>
    new Vue({
        el:'#app'
    });
</script>
</html>